﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SF.Model
{
    /// <summary>
    /// 用户统计表（统计累计佣金、等级奖励、购物币等）
    /// </summary>
    [Serializable]
    public partial class bs_user_total
    {
        public bs_user_total()
        { }

        private long _id;
        private long? _userId;
        private decimal? _totalMoney;
        private decimal? _totalLevelAward;
        private decimal? _totalShoppingCurrency;
        private decimal? _totalActionCurrency;
        private decimal? _totalPublicFund;
        private decimal? _totalExp;
        
        public long id
        {
            get { return _id; }
            set { _id = value; }
        }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long? userId
        {
            get { return _userId; }
            set { _userId = value; }
        }

        /// <summary>
        /// 累计佣金
        /// </summary>
        public decimal? totalMoney
        {
            get { return _totalMoney; }
            set { _totalMoney = value; }
        }

        /// <summary>
        /// 累计等级奖励
        /// </summary>
        public decimal? totalLevelAward
        {
            get { return _totalLevelAward; }
            set { _totalLevelAward = value; }
        }

        /// <summary>
        /// 累计购物币
        /// </summary>
        public decimal? totalShoppingCurrency
        {
            get { return _totalShoppingCurrency; }
            set { _totalShoppingCurrency = value; }
        }

        /// <summary>
        /// 累计活动币
        /// </summary>
        public decimal? totalActionCurrency
        {
            get { return _totalActionCurrency; }
            set { _totalActionCurrency = value; }
        }

        /// <summary>
        /// 累计公益基金
        /// </summary>
        public decimal? totalPublicFund
        {
            get { return _totalPublicFund; }
            set { _totalPublicFund = value; }
        }

        /// <summary>
        /// 累计积分
        /// </summary>
        public decimal? totalExp
        {
            get { return _totalExp; }
            set { _totalExp = value; }
        }
    }
}
